<template>
    <van-empty image="search" description="访问的页面不存在" >

      <van-button round type="primary" class="bottom-button" @click="handle">回到上一级</van-button>
    </van-empty>
</template>

<script setup lang="ts">
import { useRouter } from 'vue-router';

  const router = useRouter();

  const handle = () => {
    router.go(-1);
  }
</script>

<style scoped lang="less">
  .bottom-button {
    width: 160px;
    height: 40px;
  }
</style>